<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./call.js"></script>
</head>

<body>
    <script>
        window.b = 10

        function add(a, c) {
            console.log(this)
            return a + c + this.b
        }
        let obj = {
            b: 100
        }
        let res = call(add, obj, 1, 2)
        console.log(res)
    </script>
</body>

</html>